package com.graduation.roombooking.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graduation.roombooking.pojo.Equipment;
import com.graduation.roombooking.vo.AddEquipmentVo;
import com.graduation.roombooking.vo.EquipmentUnionQueryVo;
import com.graduation.roombooking.vo.RespBean;
import com.graduation.roombooking.vo.UpdateEquipmentVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZhaoXinyi
 * @since 2022-05-04
 */
public interface IEquipmentService extends IService<Equipment> {

    RespBean getList(String companyName);

    RespBean addOne(AddEquipmentVo addEquipmentVo, String companyName);

    RespBean updateEquipment(UpdateEquipmentVo updateEquipmentVo, String companyName);

    RespBean deleteOne(Integer id, String companyName);

    RespBean unionQuery(EquipmentUnionQueryVo unionQueryVo, String companyName);

    //小程序端获取指定部门下的设备选项
    RespBean getEquipmentMultipleChoice(String companyName);
}
